package com.recyclerview425yjj.activity;

import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.Toast;

import com.recyclerview425yjj.R;

public class ArticleDetailActivity extends AppCompatActivity {
    int resid;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_article_detail);
        Intent intent=getIntent();
        resid=intent.getIntExtra("resid",1);
        String str=String.valueOf(resid);
        Toast.makeText(this,str,Toast.LENGTH_SHORT).show();
    }
}
